<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>inline</title>
</head>
<body>
<div>
    <p>aaa</p>
</div>

<div>
    <h1>test.html</h1>
    {{template "test.html"}}
</div>

<div>
    <h1>inside.html</h1>
    {{template "inside.html"}}
</div>

{{define "inside.html"}}
    <ol>
        <li>吃饭</li>
        <li>睡觉</li>
        <li>打豆豆</li>
    </ol>
{{end}}
</body>
</html>